package fr.labri.macchiato.feature.localDatabase;

/**
 * <p>
 * Enumeration of the prefixes, classes and property names used to write queries
 * for the GoodRelations schema
 * </p>
 * 
 * @author Matthieu FOUCAULT
 * @author Michelle AVOMO
 * 
 */
@SuppressWarnings("javadoc")
public class SchemaConstants {
	//prefixes
	public static final String PREFIX_GR = "gr";
	public static final String PREFIX_FOAF = "foaf";
	public static final String PREFIX_VCARD = "vcard"; 
	
	//values of prefixes
	public static final String PREFIX_GR_VALUE = "<http://purl.org/goodrelations/v1#>"; 
	public static final String PREFIX_FOAF_VALUE = "<http://xmlns.com/foaf/0.1/>";
	public static final String PREFIX_VCARD_VALUE ="<http://www.w3.org/2001/vcard-rdf/3.0#>";
	
	
	//Business entity entry
	public static final String BUSINESS_ENTITY_CLASS = "gr:BusinessEntity"; 
	public static final String BUSINESS_ENTITY_LOCATION = "gr:hasPOS";
	public static final String BUSINESS_ENTITY_LEGAL_NAME = "gr:legalName";
	public static final String BUSINESS_ENTITY_LOGO = "foaf:depiction";
	public static final String BUSINESS_ENTITY_PAGE = "foaf:page";
	
	//Location or branch of a given business entity
	public static final String LOCATION_CLASS = "gr:Location"; 
	public static final String LOCATION_NAME = "gr:name";
	public static final String LOCATION_GEO = "vcard:GEO";
	//TODO : retrieve address
	
	
	//offers 
	public static final String OFFER_CLASS = "gr:Offering"; 
	public static final String OFFER_NAME = "gr:name"; 
	public static final String MODEL_EAN = "gr:hasEAN_UCC-13"; 
	public static final String OFFER_PRICE ="gr:hasPriceSpecification ?spe. ?spe gr:hasCurrencyValue";
	public static final String OFFER_PROVIDER = "gr:availableAtOrFrom ?loc. ?loc gr:name";

}
